import 'package:flutter/material.dart';
import 'package:flutter/widgets.dart';

class Test09 extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Container(
      child: Text.rich(
        TextSpan(
            text: "回复",
            style: TextStyle(color: Colors.grey, fontSize: 20),
            children: [
              TextSpan(
                  text: "@老孟",
                  style: TextStyle(color: Colors.blue, fontSize: 20)),
              TextSpan(text: "你好,想知道Flutter发展前景如何?")
            ]),
      ),
    );
  }
}
